Fixed collections warning#7
Open
igormorgado wants to merge 1 commit intovim-scripts:masterfrom
igormorgado:collections_fix
Open
Fixed collections warning#7igormorgado wants to merge 1 commit intovim-scripts:masterfrom igormorgado:collections_fix
igormorgado wants to merge 1 commit intovim-scripts:masterfrom
igormorgado:collections_fix
Conversation
$ vim
Error detected while processing function conque_gdb#load_python:
line 6:
/must>not&exist/foo:39: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
Press ENTER or type command to continueThe errors being fixed do not appear in gVim. |
|
I made the same change that's made in this PR. However, I'm not receiving this error. $ git commit
hint: Waiting for your editor to close the file... Error detected while processing function conque_gdb#load_python:
line 6:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/pd028300/.vim/pack/vendor/start/conque-gdb/autoload/conque_gdb/conque_gdb.py", line 2, in <module>
import collections.abc
ImportError: No module named abc
Press ENTER or type command to continue
error: There was a problem with the editor 'vi'.
Please supply the message using either -m or -F option. |
|
Please copy from |
|
Since this works in gVim, but not in regular vim, I ended up doing this in my if has("gui_running")
autocmd BufEnter * :packadd conque-gdb
endifand placing the |
|
same errors here? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ok.